[INFO] cloning repository https://github.com/Calvaz/Raen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Calvaz/Raen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalvaz%2FRaen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalvaz%2FRaen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 853eb9b4de2c31b538d38afefbf58439f9a54a46
[INFO] checking Calvaz/Raen against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalvaz%2FRaen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Calvaz/Raen on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Calvaz/Raen
[INFO] finished tweaking git repo https://github.com/Calvaz/Raen
[INFO] tweaked toml for git repo https://github.com/Calvaz/Raen written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Calvaz/Raen already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6885deec45d4a4ca51203f57e2973d5e4abfcba2c3ed3fd25a972da373c56364
[INFO] running `Command { std: "docker" "start" "-a" "6885deec45d4a4ca51203f57e2973d5e4abfcba2c3ed3fd25a972da373c56364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6885deec45d4a4ca51203f57e2973d5e4abfcba2c3ed3fd25a972da373c56364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6885deec45d4a4ca51203f57e2973d5e4abfcba2c3ed3fd25a972da373c56364", kill_on_drop: false }`
[INFO] [stdout] 6885deec45d4a4ca51203f57e2973d5e4abfcba2c3ed3fd25a972da373c56364
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dba1ef4a4847dada2f794d800f88fd5684b35d1472a08a342c160b83acfa3a5c
[INFO] running `Command { std: "docker" "start" "-a" "dba1ef4a4847dada2f794d800f88fd5684b35d1472a08a342c160b83acfa3a5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling libc v0.2.114
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking near-runtime-utils v4.0.0-pre.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.8.2
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.8.2
[INFO] [stderr]    Compiling near-sdk-core v3.1.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling near-sdk-macros v3.1.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling near-rpc-error-core v0.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling near-rpc-error-macro v0.1.0
[INFO] [stderr]    Compiling borsh-derive v0.8.2
[INFO] [stderr]     Checking borsh v0.8.2
[INFO] [stderr]     Checking near-primitives-core v0.4.0
[INFO] [stderr]     Checking near-vm-errors v4.0.0-pre.1
[INFO] [stderr]     Checking near-vm-logic v4.0.0-pre.1
[INFO] [stderr]     Checking near-sdk v3.1.0
[INFO] [stderr]     Checking GetNear v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected end of macro invocation
[INFO] [stdout]    --> src/lib.rs:112:41
[INFO] [stdout]     |
[INFO] [stdout] 112 |         assert_eq!(contract.posts.read())
[INFO] [stdout]     |                                         ^ missing tokens in macro arguments
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `,`
[INFO] [stdout]    --> /rustc/ebbfb508237d160e7a5e663a930916c87c4a8a45/library/core/src/macros/mod.rs:37:16
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/lib.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |         const messages: Vector<Message> = self.posts.get(&account_id);
[INFO] [stdout]    |         --------------                    ^^^^ non-constant value
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: consider using `let` instead of `const`: `let messages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/lib.rs:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |         const messages: Vector<Message> = self.posts.get(&account_id);
[INFO] [stdout]    |         --------------                                    ^^^^^^^^^^ non-constant value
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: consider using `let` instead of `const`: `let messages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/lib.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |         const messages: Vector<Message> = self.posts.get(&account_id);
[INFO] [stdout]    |         --------------                    ^^^^ non-constant value
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: consider using `let` instead of `const`: `let messages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: match bindings cannot shadow tuple variants
[INFO] [stdout]   --> src/lib.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some => self.posts.pop(msg),
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 cannot be named the same as a tuple variant
[INFO] [stdout]    |                 help: try specify the pattern arguments: `Some(..)`
[INFO] [stdout]   --> /rustc/ebbfb508237d160e7a5e663a930916c87c4a8a45/library/std/src/prelude/mod.rs:133:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the tuple variant `Some` is defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant
[INFO] [stdout]   --> src/lib.rs:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |         const messages: Vector<Message> = self.posts.get(&account_id);
[INFO] [stdout]    |         --------------                                    ^^^^^^^^^^ non-constant value
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: consider using `let` instead of `const`: `let messages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0530]: match bindings cannot shadow tuple variants
[INFO] [stdout]   --> src/lib.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some => self.posts.pop(msg),
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 cannot be named the same as a tuple variant
[INFO] [stdout]    |                 help: try specify the pattern arguments: `Some(..)`
[INFO] [stdout]   --> /rustc/ebbfb508237d160e7a5e663a930916c87c4a8a45/library/std/src/prelude/mod.rs:133:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the tuple variant `Some` is defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope
[INFO] [stdout]   --> src/lib.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         timestamp = env::block_timestamp;
[INFO] [stdout]    |         ^^^^^^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/lib.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_message(message: Message) -> Message {
[INFO] [stdout]    |            ----------- this function doesn't have a `self` parameter
[INFO] [stdout] 67 |         for msg in self.posts.get(&message) {
[INFO] [stdout]    |                    ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_message(&self, message: Message) -> Message {
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `env`
[INFO] [stdout]   --> src/lib.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |     assert_eq!(account_id, env)
[INFO] [stdout]    |                            ^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope
[INFO] [stdout]   --> src/lib.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         timestamp = env::block_timestamp;
[INFO] [stdout]    |         ^^^^^^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/lib.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_message(message: Message) -> Message {
[INFO] [stdout]    |            ----------- this function doesn't have a `self` parameter
[INFO] [stdout] 67 |         for msg in self.posts.get(&message) {
[INFO] [stdout]    |                    ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_message(&self, message: Message) -> Message {
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `env`
[INFO] [stdout]   --> src/lib.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |     assert_eq!(account_id, env)
[INFO] [stdout]    |                            ^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout] 32  | #[near_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | the trait `Serialize` is not implemented for `Message`
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 185 others
[INFO] [stdout]     = note: required for `&Message` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/value/mod.rs:944:8
[INFO] [stdout]     |
[INFO] [stdout] 944 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout]     = note: this error originates in the macro `json_internal` which comes from the expansion of the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout] 32  | #[near_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | the trait `Serialize` is not implemented for `Message`
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 185 others
[INFO] [stdout]     = note: required for `&Message` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/value/mod.rs:944:8
[INFO] [stdout]     |
[INFO] [stdout] 944 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout]     = note: this error originates in the macro `json_internal` which comes from the expansion of the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout] 32  | #[near_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | the trait `Serialize` is not implemented for `Message`
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 185 others
[INFO] [stdout]     = note: required for `&Message` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/value/mod.rs:944:8
[INFO] [stdout]     |
[INFO] [stdout] 944 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout]     = note: this error originates in the macro `json_internal` which comes from the expansion of the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout] 32  | #[near_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | the trait `Serialize` is not implemented for `Message`
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 185 others
[INFO] [stdout]     = note: required for `&Message` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/value/mod.rs:944:8
[INFO] [stdout]     |
[INFO] [stdout] 944 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout]     = note: this error originates in the macro `json_internal` which comes from the expansion of the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout] 32  | #[near_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | the trait `Serialize` is not implemented for `Message`
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 185 others
[INFO] [stdout]     = note: required for `&Message` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/value/mod.rs:944:8
[INFO] [stdout]     |
[INFO] [stdout] 944 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout]     = note: this error originates in the macro `json_internal` which comes from the expansion of the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:1
[INFO] [stdout]     |
[INFO] [stdout] 32  | #[near_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | the trait `Serialize` is not implemented for `Message`
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 185 others
[INFO] [stdout]     = note: required for `&Message` to implement `Serialize`
[INFO] [stdout] note: required by a bound in `to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.78/src/value/mod.rs:944:8
[INFO] [stdout]     |
[INFO] [stdout] 944 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout]     = note: this error originates in the macro `json_internal` which comes from the expansion of the attribute macro `near_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `GetNear` has no field named `tokens`
[INFO] [stdout]   --> src/lib.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             tokens: 1,
[INFO] [stdout]    |             ^^^^^^ `GetNear` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `posts`, `likes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `GetNear` has no field named `tokens`
[INFO] [stdout]   --> src/lib.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             tokens: 1,
[INFO] [stdout]    |             ^^^^^^ `GetNear` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `posts`, `likes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:46:66
[INFO] [stdout]     |
[INFO] [stdout] 46  |         self.posts.insert(env::signer_account_id, self.posts.get(env::signer_account_id).push(&message));
[INFO] [stdout]     |                                                              --- ^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found fn item
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::string::String`
[INFO] [stdout]                  found fn item `fn() -> std::string::String {near_sdk::env::signer_account_id}`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/near-sdk-3.1.0/src/collections/unordered_map.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn get(&self, key: &K) -> Option<V> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:46:66
[INFO] [stdout]     |
[INFO] [stdout] 46  |         self.posts.insert(env::signer_account_id, self.posts.get(env::signer_account_id).push(&message));
[INFO] [stdout]     |                                                              --- ^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found fn item
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::string::String`
[INFO] [stdout]                  found fn item `fn() -> std::string::String {near_sdk::env::signer_account_id}`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/near-sdk-3.1.0/src/collections/unordered_map.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn get(&self, key: &K) -> Option<V> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/lib.rs:46:90
[INFO] [stdout]    |
[INFO] [stdout] 46 |         self.posts.insert(env::signer_account_id, self.posts.get(env::signer_account_id).push(&message));
[INFO] [stdout]    |                                                                                          ^^^^ method not found in `Option<Vector<Message>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/lib.rs:46:90
[INFO] [stdout]    |
[INFO] [stdout] 46 |         self.posts.insert(env::signer_account_id, self.posts.get(env::signer_account_id).push(&message));
[INFO] [stdout]    |                                                                                          ^^^^ method not found in `Option<Vector<Message>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:46:27
[INFO] [stdout]     |
[INFO] [stdout] 46  |         self.posts.insert(env::signer_account_id, self.posts.get(env::signer_account_id).push(&message));
[INFO] [stdout]     |                    ------ ^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found fn item
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::string::String`
[INFO] [stdout]                  found fn item `fn() -> std::string::String {near_sdk::env::signer_account_id}`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/near-sdk-3.1.0/src/collections/unordered_map.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn insert(&mut self, key: &K, value: &V) -> Option<V> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:46:27
[INFO] [stdout]     |
[INFO] [stdout] 46  |         self.posts.insert(env::signer_account_id, self.posts.get(env::signer_account_id).push(&message));
[INFO] [stdout]     |                    ------ ^^^^^^^^^^^^^^^^^^^^^^ expected `&String`, found fn item
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::string::String`
[INFO] [stdout]                  found fn item `fn() -> std::string::String {near_sdk::env::signer_account_id}`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/near-sdk-3.1.0/src/collections/unordered_map.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn insert(&mut self, key: &K, value: &V) -> Option<V> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:57:35
[INFO] [stdout]     |
[INFO] [stdout] 57  |         for msg in self.posts.get(&message) {
[INFO] [stdout]     |                               --- ^^^^^^^^ expected struct `String`, found struct `Message`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::string::String`
[INFO] [stdout]                found reference `&Message`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/near-sdk-3.1.0/src/collections/unordered_map.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn get(&self, key: &K) -> Option<V> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |             match &message {
[INFO] [stdout]    |                   -------- this expression has type `&Message`
[INFO] [stdout] 59 |                 Some => self.posts.pop(msg),
[INFO] [stdout] 60 |                 None => continue
[INFO] [stdout]    |                 ^^^^ expected struct `Message`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Message`
[INFO] [stdout]                 found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:57:35
[INFO] [stdout]     |
[INFO] [stdout] 57  |         for msg in self.posts.get(&message) {
[INFO] [stdout]     |                               --- ^^^^^^^^ expected struct `String`, found struct `Message`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::string::String`
[INFO] [stdout]                found reference `&Message`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/near-sdk-3.1.0/src/collections/unordered_map.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn get(&self, key: &K) -> Option<V> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |             match &message {
[INFO] [stdout]    |                   -------- this expression has type `&Message`
[INFO] [stdout] 59 |                 Some => self.posts.pop(msg),
[INFO] [stdout] 60 |                 None => continue
[INFO] [stdout]    |                 ^^^^ expected struct `Message`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Message`
[INFO] [stdout]                 found enum `std::option::Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop` found for struct `UnorderedMap` in the current scope
[INFO] [stdout]   --> src/lib.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some => self.posts.pop(msg),
[INFO] [stdout]    |                                    ^^^ method not found in `UnorderedMap<String, Vector<Message>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pop` found for struct `UnorderedMap` in the current scope
[INFO] [stdout]   --> src/lib.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Some => self.posts.pop(msg),
[INFO] [stdout]    |                                    ^^^ method not found in `UnorderedMap<String, Vector<Message>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |       pub fn get_message(message: Message) -> Message {
[INFO] [stdout]    |                                               ------- expected `Message` because of return type
[INFO] [stdout] 67 | /         for msg in self.posts.get(&message) {
[INFO] [stdout] 68 | |
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |_________^ expected struct `Message`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]   --> src/lib.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     assert_eq!(account_id, env)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]    = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |       pub fn get_message(message: Message) -> Message {
[INFO] [stdout]    |                                               ------- expected `Message` because of return type
[INFO] [stdout] 67 | /         for msg in self.posts.get(&message) {
[INFO] [stdout] 68 | |
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |_________^ expected struct `Message`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]   --> src/lib.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     assert_eq!(account_id, env)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]    = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout]    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0317, E0423, E0424, E0425, E0435, E0530, E0560...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:109:28
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut contract = GetNear::new();
[INFO] [stdout]     |                            ^^^^^^^^^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:35:12
[INFO] [stdout]     |
[INFO] [stdout] 35  |     pub fn new(owner_id: AccountId) -> Self {
[INFO] [stdout]     |            ^^^ -------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut contract = GetNear::new(/* std::string::String */);
[INFO] [stdout]     |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Message` in the current scope
[INFO] [stdout]    --> src/lib.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub struct Message {
[INFO] [stdout]     | ------------------ function or associated item `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |         let mut text = Message::new("First message.");
[INFO] [stdout]     |                                 ^^^ function or associated item not found in `Message`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `new`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `typenum::marker_traits::Bit`
[INFO] [stdout]             candidate #2: `digest::digest::Digest`
[INFO] [stdout]             candidate #3: `digest::variable::VariableOutput`
[INFO] [stdout]             candidate #4: `digest::variable::VariableOutputDirty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `GetNear` due to 19 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:111:18
[INFO] [stdout]     |
[INFO] [stdout] 111 |         contract.post_message(context.predecessor_account_id, text);
[INFO] [stdout]     |                  ^^^^^^^^^^^^ ------------------------------  ---- argument unexpected
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               expected struct `Message`, found struct `String`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 44  |     pub fn post_message(&mut self, message: Message) {
[INFO] [stdout]     |            ^^^^^^^^^^^^            ----------------
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 111 |         contract.post_message(/* Message */);
[INFO] [stdout]     |                              ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0317, E0423, E0424, E0425, E0435, E0530...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `GetNear` due to 23 previous errors
[INFO] running `Command { std: "docker" "inspect" "dba1ef4a4847dada2f794d800f88fd5684b35d1472a08a342c160b83acfa3a5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dba1ef4a4847dada2f794d800f88fd5684b35d1472a08a342c160b83acfa3a5c", kill_on_drop: false }`
[INFO] [stdout] dba1ef4a4847dada2f794d800f88fd5684b35d1472a08a342c160b83acfa3a5c
